// 同或门/异或非门 xnor(out, a, b)
module top_module( 
    input a, 
    input b, 
    output out );

    //assign out = ~(a ^ b);
    assign out = ~((a&(~b))|((~a)&b));

endmodule
